/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package view;

//import javax.faces.bean.ManagedBean;
//import javax.faces.bean.SessionScoped;

/**
 *
 * @author MADD
 */
//@ManagedBean(name = "UserBean")
//@SessionScoped
public class UserBean {
    private String userName;
    private String userPassword;

    public UserBean() {
    }

    public boolean isIsLoggedIn() {
        return userName != null;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }

}
